﻿namespace Tuxedo.Compile
{
	internal class BooleanConstant : Constant
	{
		public static readonly Expression TRUE_INSTANCE = new BooleanConstant(true);
		public static readonly Expression FALSE_INSTANCE = new BooleanConstant(false);

		public bool Value { get; private set; }
		public override object ObjectValue { get { return this.Value; } }

		private BooleanConstant(bool value)
		{
			this.Value = value;
		}
	}
}
